
import requests
import time


if __name__ == '__main__':

    # day="20231121"
    daylist=["20231127"]
    hourlist = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16",
                "17", "18", "19", "20", "21", "22", "23"]
    for day in daylist:
        for hour in hourlist:
            print(hour)
            url = "http://10.6.133.9:8990/trigger/his?day="+day+"&hour="+hour  # 将这里的URL替换为你要发送GET请求的目标URL

            # 发送GET请求
            response = requests.get(url)
            # 打印响应内容
            print(response.text)
            time.sleep(5)






